const store = new Vuex.Store({
    state: {
      isAuthenticated: false
    },
    mutations: {
      LOGOUT(state) {
        state.isAuthenticated = false;
      }
    },
    actions: {
      logout({ commit }) {
        commit('LOGOUT');
      }
    }
  });